﻿using System.Windows.Automation;

namespace RoAssistant
{
    /// <summary>
    /// 控件信息集
    /// </summary>
    public class ClientElement
    {
        /// <summary>
        /// 控件Id
        /// </summary>
        public string ControlId { get; set; }

        /// <summary>
        /// 控件类型
        /// </summary>
        public ControlType ControlType { get; set; }


        /// <summary>
        /// 控件归属
        /// </summary>
        public string ReferenceContainer { get; set; }


        /// <summary>
        /// 元素AutomationId
        /// </summary>
        public string ElementAutomationId { get; set; }


        /// <summary>
        /// 元素Name
        /// </summary>
        public string ElementName { get; set; }


        /// <summary>
        /// 元素ClassName
        /// </summary>
        public string ElementClassName { get; set; }

        
    }


    /// <summary>
    /// web控件信息集
    /// </summary>
    public class WebElement
    {
        /// <summary>
        /// 控件ID
        /// </summary>
        public string Id { get; set; }


        /// <summary>
        /// 控件值
        /// </summary>
        public string Value { get; set; }
    }
}
